<? global $lg, $FullUrl; ?>

<div class="singup">
        <div class="tabbed_area2">
        <ul class="tabs2">
            <li><a href="#" title="content_1" class="tab active">Đăng ký</a></li>
            <li><a href="#" title="content_2" class="tab">Đăng nhập</a></li>
            <li><a href="#" title="content_3" class="tab last">Quên mật khẩu</a></li>
          </ul>
        <div id="content_1" class="content2">
        <form method="post" action="<?php echo $FullUrl ?>/index.php?do=member&act=regis&lg=<?=$lg?>">
            <h1>Đăng Ký Thành Viên</h1>
            <div class="row_reg">
                <label><span>Tên đăng nhập</span></label>
                <input type="text" name="username" id="username"/>
              </div>
            <br/>
            <div class="row_reg">
                <label><span>Mật khẩu</span> </label>
                <input type="password" name="password" id="password"/>
              </div>
            <br/>
            <div class="row_reg">
                <label><span>Mã kiểm tra</span></label>
                <input type="text" name="code" id="code"/>
              </div>
            <br/>
            <button type="submit" class="reg"><span>Đăng ký</span></button>
          </form>
          </div>
        <div id="content_2" class="content2"> 
        	<form method="post" action="<?php echo $FullUrl ?>/index.php?do=member&act=loginsm&lg=<?=$lg?>">
            <h1>Đăng nhập</h1>
            <div class="row_reg">
                <label><span>Tên đăng nhập</span></label>
                <input type="text" name="username" id="username"/>
              </div>
            <br/>
            <div class="row_reg">
                <label><span>Mật khẩu</span> </label>
                <input type="password" name="password" id="password"/>
              </div>
            <br/>
            <button type="submit" class="reg"><span>Đăng nhập</span></button>
          </form>
        </div>
        <div id="content_3" class="content2"> 
        	<form method="post" action="<?php echo $FullUrl ?>/index.php?do=member&act=resetpassword&lg=<?=$lg?>">
            <h1>Quên mật khẩu</h1>
            <div class="row_reg">
                <label><span>Tên đăng nhập</span></label>
                <input type="text" name="username" id="username"/>
              </div>
            <br/>
            <div class="row_reg">
                <label><span>Email</span> </label>
                <input type="text" name="email" id="email"/>
              </div>
            <br/>
            <button type="submit" class="reg"><span>Gửi lại</span></button>
          </form>
        </div>
      </div>
      </div>
      
      <!--
<div class="frame-container">
  <div class="right_title">
    <h4>
      <?=MEMBER ?>
    </h4>
  </div>
  <div id="frame_center">
    <div class="register">
      <form method="post" action="<?php echo $FullUrl ?>/index.php?do=member&amp;act=loginsm&lg=<?=$lg?>">
        <p class="pelement">
              <?=EMAIL?>
            </p>
            <p>
          <input type="text" name="email" id="email" class="txt_name"/>
        </p>
        <p class="pelement">
              <?=PASSWORD?>
            </p><p>
           <input type="password" name="password" id= "password" class="txt_name"/>
        </p>
        <?
            if(isset($_SESSION['counter_login']))
            {
                if($_SESSION['counter_login'] != NULL && $_SESSION['counter_login'] > 1)
                { ?>
        <center>
          <img style="margin:10px 0;" src="<?php echo $FullUrl; ?>/CaptchaSecurityImages.php?width=100&amp;height=40&amp;characters=6" />
        </center>
        <p class="security">
          <input name="security_code" type="text" id="security_code" class="txt_name" />
        </p>
        <?	}
            }?>
        <br/>    
        <p class="btn_reg_form padding-top-10px">
          <input type="submit" class="reg no-margin" value="<?= SIGN_IN ?>" onclick="return CheckAllEmailPassword();" />
          <input type="reset" class="retry" value="<?= BTN_REGISTER_RETRY ?>" />
        </p>
        <br/><br/><br/>
        <a class="forgot_pass" href="<?=$FullUrl. $prefix_url?>forgot-password.html">
        <?= FORGOT_PASS ?>
        </a>
      </form>
    </div>
  </div>
</div>-->
<?=isset($_SESSION['mess'])?AlertMessage($_SESSION['mess']):''; unset($_SESSION['mess']);?>
